package com.xxx.common.core.sampleframe.service;

import com.xxx.common.core.sampleframe.search.Search;
import org.springframework.data.domain.Page;

import java.util.List;


public interface FastService<T > {
	public void update(T t);
	public void insert(T t);
	public void delete(T t);
	public List<T> find(Search search);
	public Page<T> findPage(Search search);
	public T findOne(Search search);
	public Long count(Search search);
	public T findById(Long id);
	public List<T> findPageWithoutCount(Search search);
}